package com.ndp.fb.rdb.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * Created by infi on 2015/1/22.
 */
@Setter
@Getter
@NoArgsConstructor
public class Pager<T> implements Serializable {
    /**
     * 记录数totalSize
     */
    private Long totalSize;
    
    private Integer pageSize;
    private Integer pageIndex;
    /**
     * 查询结果
     */
    private List<T> resultList;

}

